<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<%@ taglib prefix="ckeditor" uri="http://ckeditor.com" %>
<%@ taglib prefix="ckfinder" uri="http://cksource.com/ckfinder" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>first use of CKEditor</title>
    <link type="text/css" rel="stylesheet"
          href="/static/ckeditor/contents.css"
          mce_href="/static/ckeditor/contents.css"/>
</head>
<body>
<%--//todo CKEditor 中文件上传地址不准确，暂时无效--%>
<ckfinder:setupCKEditor basePath="/static/"></ckfinder:setupCKEditor>
<br/>
<textarea cols="10" id="editor1" name="editor1" rows="10"></textarea>
<ckeditor:replace replace="editor1" basePath="/static/ckeditor/"></ckeditor:replace>
<br/>
<ckfinder:ckfinder basePath="/static/ckfinder"></ckfinder:ckfinder>
</body>
</html>
